package com.ywd.materials.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ywd.materials.admin.dto.AdminUserDto;
import com.ywd.materials.admin.dto.query.UserPageQuery;
import com.ywd.materials.admin.entity.AdminUserEntity;
import com.ywd.materials.admin.vo.AdminUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/11/10
 */
@Mapper
public interface AdminUserMapper extends BaseMapper<AdminUserEntity> {


    List<AdminUserVo> getUserPage(@Param("query") UserPageQuery query);

    AdminUserVo getUserDetails(@Param("id") Long id);

}
